package com.lanhu.designpattern.proxy.dynamic;

import java.util.Date;

/**
 * @author 蓝狐
 */
public class OrderService implements IOrderService{

    private OrderDao orderDao;

    public OrderService () {
        orderDao = new OrderDao();
    }


    @Override
    public int createOrder (Order order) {

        return orderDao.insertOrder(order);
    }
}
